input age and check eligibility for voting